package com.duowei.diandan.sql;


import org.joda.time.LocalDateTime;

public class Test {

    @UpdateField
    @InsertField
    private Float f;

    @UpdateField
    @InsertField
    private Integer i;

    @ColumnName(name = "string")
    @UpdateField
    @InsertField
    private String s;

    @UpdateField
    @InsertField
    private LocalDateTime ldt;

    public Test() {
    }

    public Float getF() {
        return f;
    }

    public void setF(Float f) {
        this.f = f;
    }

    public Integer getI() {
        return i;
    }

    public void setI(Integer i) {
        this.i = i;
    }

    public LocalDateTime getLdt() {
        return ldt;
    }

    public void setLdt(LocalDateTime ldt) {
        this.ldt = ldt;
    }

    public String getS() {
        return s;
    }

    public void setS(String s) {
        this.s = s;
    }

    public static void test() {
        Test test = new Test();
        test.setI(1);
        test.setF(2f);
        test.setLdt(new LocalDateTime());
        test.setS("123");
        System.out.println();
    }
}
